package com.hy.art;

public class Node {
	private String text;
	private Node leftChild;
	private Node rightChild;
	public int x;
	public int y;
	
	public Node() {
		this("");
	}
	
	public Node(String text) {
		this.text=text;
	}
	
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public Node getLeftChild() {
		return leftChild;
	}
	public void setLeftChild(Node leftChild) {
		this.leftChild = leftChild;
	}
	public Node getRightChild() {
		return rightChild;
	}
	public void setRightChild(Node rightChild) {
		this.rightChild = rightChild;
	}
}
